package com.mall.feign.config;

import feign.Logger;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@EnableFeignClients(basePackages = "com.mall.feign.clients")
@Configuration
public class DefaultFeignConfiguration {

    @Bean
    public Logger.Level loggerLevel() {
        return Logger.Level.BASIC;
    }
}
